<html>
<head> <title> Professores </title> 
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>	
	{% if professor_list %}
	    <ul>
	    {% for professor in professor_list %}
	        <li>{{ professor.nome }} 
	        	<a href="http://127.0.0.1:8000/elearning/{{professor.id}}/"> details </a>
	        </li>
	    {% endfor %}
	    </ul>
	{% else %}
    	<p>Nenhum professor cadastrado.</p>
	{% endif %}
	</br></br>		
	<a href="http://127.0.0.1:8000/elearning/"> Voltar ao indice</a>
</body>
</html>